import fetch from '@/utils/fetch'

export function getAll(query) {
  return fetch({
    url: '/faultdrill/queryAllByType',
    method: 'get',
    params: query
  })
}

export function updateStatus(query) {
  return fetch({
    url: '/faultdrill/updateShellStatus',
    method: 'post',
    params: query
  })
}

export function updateProjectStatus(query) {
  return fetch({
    url: '/faultdrill/updateProjectStatus',
    method: 'post',
    params: query
  })
}

